<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* 清除默认样式 */
        * {
            margin: 0;
            padding: 0;
        }
        ul,ol {
            list-style: none;
        }
        .lunbo {
            /* 位置 */
            position: relative;
            /* 盒模型 样式 */
            width: 880px;
            height: 550px;
            border: 1px solid #333;
            margin: 20px auto;
            /* 背景 */
            /* 文字 */
        }
        .lunbo .pic li {
            position: absolute;
            left: 0;
            top: 0;
            width: 880;
            height: 550;
            display: none;
        }
        /* 给li设置一个display:none 给想要显示的图片添加类 修改display为block*/
        .lunbo .pic .current {
            display: block;
        }
        /* 按钮公共样式 */
        .lunbo .btn a {
            position: absolute;
            top: 50%;
            width: 40px;
            height: 40px;
            margin-top: -20px;
            /* 背景 */
            background-color: rgba(255, 255, 255, 0.3);
            /* 文字 */
            font: 20px/40px "宋体";
            text-align: center;
            color: #fff;
            text-decoration: none;
        }
        .lunbo .btn .leftbtn {
            left: 20px;
        }
        .lunbo .btn .righttbtn {
            right: 20px;
        }
        .lunbo .btn a:hover {
            background-color: rgba(255, 255, 255, 0.6);
        }
        /* 下标 */
        .lunbo .sub {
            position: absolute;
            left: 440px;
            bottom: 50px;
            margin-left: -55px;
        }
        .lunbo .sub li {
            float: left;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            margin-right: 10px;
            background-color: rgba(255, 255, 255, 0.3);
            font: 12px/20px "微软雅黑";
            text-align: center;
            /* 鼠标光标 */
            cursor: pointer;
        }
        .lunbo .sub .current {
            background-color: rgba(255, 255, 255, 0.6);
        }
    </style>
</head>
<body>
    <!-- 轮播图 -->
     <div class="lunbo">
        <ul class="pic">
            <li class="current"><img src="../image/lunbo/c1.jpg"></li>
            <li><img src="../image/lunbo/c2.jpg"></li>
            <li><img src="../image/lunbo/c3.jpg"></li>
            <li><img src="../image/lunbo/c4.jpg"></li>
            <li><img src="../image/lunbo/c5.jpg"></li>
            <li><img src="../image/lunbo/c6.jpg"></li>
        </ul>

        <!-- 按钮 -->
        <div class="btn">
            <a href="javascript:;" class="leftbtn">&lt;</a>
            <a href="javascript:;" class="righttbtn">&gt;</a>
        </div>

        <!-- 下标小圆点 -->
        <ol class="sub">
            <li class="current">1</li>
            <li>2</li>
            <li>3</li>
            <li>4</li>
            <li>5</li>
            <li>6</li>
        </ol>
     </div>
</body>
</html>